package com.base.library.http;

/**
 * Created by ChengZhi on 2016/5/26.
 */


/**
 * Created by SupLuo on 2016/5/25.
 * Api请求失败抛出的异常
 */
public class ApiException extends RuntimeException {
    public HttpResult result;

    public ApiException(HttpResult result) {
        super(result.msg);
        this.result = result;
    }

    public ApiException(String detailMessage) {
        super(detailMessage);
    }

    public ApiException(Throwable throwable) {
        super(throwable);
    }
}
